<%@page import="com.boxin.ims.modules.wechat.score.entity.ExchangeRecord"%>
<%@page import="com.boxin.ims.modules.momarketing.common.QRCodeUtils"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>兑换</title>
<meta name="decorator" content="default" />
<meta name="full-screen" content="yes">
<meta name="viewport"
	content="width=device-width initial-scale=1.0  maximum-scale=1.0">

<%@ include file="/static/mobile-template/default/header.jsp"%>

<script type="text/javascript">
		document.title = "积分况换成功";
	</script>
</head>
<body>
	<div class="main">
		<div>
			<div>
				<div class="ztContent">
				
					 <c:if test="${uid eq '34' }">
					 	<div class="c2">
						</div>
							<p style="font-size:18px;color:red"><b>${config.notice }</b></p>
					 </c:if>
					
				</div>
				<div class="ztContent">
					<h5>${message }</h5>
					<br>
					<br>
					<%
						ExchangeRecord recorder = (ExchangeRecord) request.getAttribute("recorder");
					    if(recorder != null){
							Long qrcodeId = recorder.getQrCode().getId();
					%>
					<img alt="" src="<%=QRCodeUtils.getQRCodePNGURL(qrcodeId)%>">
					<%} %>
				</div>
			</div>
		</div>
	</div>
	
	<c:if test="${uid ne '34' }">
		<%@ include file="/static/mobile-template/default/footer.jsp"%>
	</c:if>
	
</body>
</html>
